.clearfix {
    *zoom: 1;
}

    .clearfix:before, .clearfix:after {
        display: table;
        content: "";
        line-height: 0;
    }

    .clearfix:after {
        clear: both;
    }

.hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.input-block-level {
    display: block;
    width: 100%;
    min-height: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.discovery-main {
    color: #444;
    font-family: "Helvetica Neue",arial,sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    clear: both;
    margin-top: 20px;
    display: inline-block;
    width: 100%;
    line-height: 1em;
}

    .discovery-main .alert .btn {
        margin: 20px 0 8px;
        text-decoration: none;
        box-shadow: none;
    }

    .discovery-main strong {
        font-weight: 700;
    }

        .discovery-main strong a {
            font-weight: 700;
        }

header.discovery-col-header {
    padding-bottom: .9em;
    font-size: 11px;
}

    header.discovery-col-header h2 {
        margin-top: 5px;
        text-transform: uppercase;
        font-weight: 700;
        color: rgba(34,59,74,.5);
        line-height: 1.3em;
    }

        header.discovery-col-header h2 strong {
            color: rgba(34,59,74,.7);
        }

    header.discovery-col-header .discovery-options {
        float: right;
    }

        header.discovery-col-header .discovery-options a {
            font-weight: 600;
            text-transform: uppercase;
            background: rgba(0,49,79,.08);
            padding: 4px;
            border-radius: 3px;
            color: rgba(34,59,74,.5)!important;
            font-size: 10px;
        }

    header.discovery-col-header a.discovery-close {
        color: #BBB;
        font-size: 20px;
        font-weight: 700;
        position: relative;
        top: 1px;
    }

        header.discovery-col-header a.discovery-close:hover {
            color: #999;
            text-decoration: none;
        }

.doublesection .col-organic {
    margin-right: 1%;
}

.doublesection .col-organic, .doublesection .col-promoted {
    float: left;
    width: 48%;
}

.doublesection.discovery-main header.discovery-col-header {
    padding-bottom: .6em;
}

.doublesection ul.discovery-posts li.discovery-post {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.1%;
}

    .doublesection ul.discovery-posts li.discovery-post:nth-child(odd) {
        margin-right: 0;
    }

.doublesection a.top-comment {
    display: none;
}

ul.discovery-posts {
    display: inline-block;
    width: 100%;
}

    ul.discovery-posts li.discovery-post {
        float: left;
        width: 48%;
        margin-bottom: 10px;
    }

        ul.discovery-posts li.discovery-post:nth-child(odd) {
            margin-right: 1%;
        }

.discovery-post h3 {
    margin-bottom: 4px;
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25em;
    max-height: 2.5em;
    overflow: hidden;
}

.discovery-post a.title {
    font-size: 16px;
    font-weight: 600;
    display: inline;
    word-wrap: break-word;
    line-height: 1.25em;
    padding-right: 5px;
}

.discovery-post ul.meta {
    display: inline;
    width: 100%;
    font-size: 12px;
    color: #777;
    color: rgba(30,55,70,.4);
    font-weight: 500;
    line-height: 1.1em;
}

    .discovery-post ul.meta li {
        display: inline;
        font-weight: 500;
    }

        .discovery-post ul.meta li a {
            color: #777;
            color: rgba(30,55,70,.4);
        }

        .discovery-post ul.meta li:after {
            content: '\2022';
            color: #ccc;
        }

        .discovery-post ul.meta li:last-of-type {
            margin-right: 0;
        }

            .discovery-post ul.meta li:last-of-type:after {
                content: '';
                margin-left: 0;
            }

.discovery-post .inline-meta {
    font-size: 12px;
    font-weight: 500;
    color: #777;
    color: rgba(0,0,0,.25);
    white-space: nowrap;
}

.discovery-post a.top-comment {
    color: #333;
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
}

    .discovery-post a.top-comment img {
        width: 30px;
        height: 30px;
        float: left;
        margin-right: 8px;
        margin-top: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    .discovery-post a.top-comment p {
        line-height: 1.4em;
        max-height: 4.199999999999999em;
        overflow: hidden;
        font-size: 14px;
        margin-bottom: 0;
        color: #42474a;
    }

    .discovery-post a.top-comment .user {
        font-weight: 600;
        font-size: 13px;
        color: #777;
        color: rgba(30,55,70,.4);
    }

    .discovery-post a.top-comment:hover {
        text-decoration: none;
        color: #666;
    }

        .discovery-post a.top-comment:hover .user {
            color: #AAA;
        }

        .discovery-post a.top-comment:hover img {
            opacity: .8;
        }

.dark .discovery-options .discovery-help {
    color: rgba(255,255,255,.5)!important;
    background: rgba(255,255,255,.25);
}

.dark .discovery-main h2 {
    color: #bbb;
}

    .dark .discovery-main h2 strong {
        color: #fff;
    }

.dark .discovery-post a.top-comment .user {
    color: #999;
}

.dark .discovery-post a.top-comment p {
    color: #fff;
}

.dark .discovery-post a.top-comment:hover {
    color: #888;
}

    .dark .discovery-post a.top-comment:hover .user {
        color: #777;
    }

.dark ul.meta, .dark .inline-meta {
    color: #aaa;
}

    .dark ul.meta a, .dark .inline-meta a {
        color: #aaa;
    }

.dark #discovery-top .discovery-main {
    border-bottom: 1px solid gray;
    border-bottom: 1px solid rgba(255,255,255,.17);
}

.serif .discovery-post a.top-comment p {
    font-family: Georgia,Times,serif;
}

    .serif .discovery-post a.top-comment p span.user {
        font-family: "Helvetica Neue",arial,sans-serif;
    }

#discovery-top .discovery-main {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid gray;
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-bottom: 10px;
}

@media screen and (max-width:440px) {
    .discovery-main .discovery-options {
        display: none;
    }

    .discovery-main header.discovery-col-header {
        padding-bottom: .4em;
    }

    .discovery-main ul.discovery-posts li.discovery-post {
        float: left;
        width: 100%;
        margin-bottom: 10px;
    }

        .discovery-main ul.discovery-posts li.discovery-post a.top-comment {
            display: none;
        }

        .discovery-main ul.discovery-posts li.discovery-post:nth-child(odd) {
            margin-right: 0;
        }

    .doublesection .col-organic, .doublesection .col-promoted {
        width: 100%;
    }

    .doublesection .col-organic {
        margin-right: 0;
        margin-bottom: 2%;
    }

    .doublesection.discovery-main header.discovery-col-header {
        padding-bottom: .5%;
    }

    .doublesection.discovery-main ul.discovery-posts li.discovery-post {
        margin-bottom: .5%;
    }
}

.discovery-thumbnails header.discovery-col-header h2 {
    color: #999;
    line-height: 1.3em;
}

    .discovery-thumbnails header.discovery-col-header h2 strong {
        color: #666;
    }

.discovery-thumbnails header.discovery-col-header .discovery-options {
    float: right;
}

.discovery-thumbnails ul.discovery-posts li.discovery-post {
    width: 48.75%;
}

    .discovery-thumbnails ul.discovery-posts li.discovery-post:nth-child(odd) {
        margin-right: 2.5%;
    }

.discovery-thumbnails .discovery-post.hasthumbnail {
    position: relative;
}

    .discovery-thumbnails .discovery-post.hasthumbnail .discovery-post-header {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px;
    }

    .discovery-thumbnails .discovery-post.hasthumbnail h3 {
        margin-bottom: 0;
        font-size: 15px;
        line-height: 1.25em;
        max-height: 2.5em;
        overflow: hidden;
    }

    .discovery-thumbnails .discovery-post.hasthumbnail a.title {
        font-weight: 700;
        display: block;
        padding-right: 0;
        color: #fff;
    }

    .discovery-thumbnails .discovery-post.hasthumbnail ul.meta {
        font-size: 11px;
        color: #666;
        margin-top: 5px;
        display: block;
    }

        .discovery-thumbnails .discovery-post.hasthumbnail ul.meta li {
            font-weight: 400;
        }

    .discovery-thumbnails .discovery-post.hasthumbnail .inline-meta {
        font-size: 11px;
        font-weight: 400;
    }

    .discovery-thumbnails .discovery-post.hasthumbnail a.top-comment p {
        font-size: 12px;
    }

    .discovery-thumbnails .discovery-post.hasthumbnail a.top-comment .user {
        font-weight: 700;
        color: #999;
    }

.discovery-thumbnails .thumbnail {
    display: block;
    height: 200px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.dark .discovery-post .inline-meta {
    font-size: 12px;
    color: gray;
    color: rgba(255,255,255,.4);
    font-weight: 500;
}

@media screen and (max-width:400px) {
    .discovery-thumbnails.discovery-main .discovery-options {
        display: none;
    }

    .discovery-thumbnails.discovery-main header.discovery-col-header {
        padding-bottom: .4em;
    }

    .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post {
        float: left;
        width: 100%;
        margin-bottom: 10px;
    }

        .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post a.top-comment {
            display: none;
        }

        .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post:nth-child(odd) {
            margin-right: 0;
        }
}

@media screen and (min-width:750px) {
    .discovery-thumbnails.discovery-main header.discovery-col-header {
        padding-bottom: .4em;
    }

    .discovery-thumbnails.discovery-main ul.discovery-posts {
        margin-top: 5px;
    }

        .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post {
            float: left;
            width: 24%;
            margin-bottom: 10px;
            margin-right: 1.3%;
        }

            .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post .discovery-post-header h3 {
                font-size: 14px;
            }

            .discovery-thumbnails.discovery-main ul.discovery-posts li.discovery-post:nth-child(4) {
                margin-right: 0;
            }
}

.discovery-thumbnails.doublethumbnails.discovery-main {
    margin-top: inherit;
    padding-bottom: 15px;
}

.discovery-thumbnails.doublethumbnails header.discovery-col-header h2 {
    padding-top: 6px;
    margin-top: 0;
}

.discovery-thumbnails.doublethumbnails header.discovery-col-header .discovery-options {
    padding-top: 5px;
}

.discovery-thumbnails.doublethumbnails ul.discovery-posts {
    margin-top: 0;
}

    .discovery-thumbnails.doublethumbnails ul.discovery-posts li.discovery-post.hasthumbnail {
        width: 33.3%;
        padding-right: 10px;
    }

        .discovery-thumbnails.doublethumbnails ul.discovery-posts li.discovery-post.hasthumbnail:nth-child(odd) {
            margin-right: 0;
        }

        .discovery-thumbnails.doublethumbnails ul.discovery-posts li.discovery-post.hasthumbnail:last-child {
            padding-right: 0;
        }

.discovery-thumbnails.doublethumbnails .discovery-post {
}

    .discovery-thumbnails.doublethumbnails .discovery-post.hasthumbnail .discovery-post-header {
        position: inherit;
        padding: inherit;
    }

    .discovery-thumbnails.doublethumbnails .discovery-post.hasthumbnail h3 {
        margin-bottom: 6px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.5em;
        max-height: 4.5em;
    }

    .discovery-thumbnails.doublethumbnails .discovery-post.hasthumbnail ul.meta {
        font-size: 12px;
        color: #777;
        color: rgba(30,55,70,.4);
        font-weight: 500;
        margin-top: inherit;
    }

        .discovery-thumbnails.doublethumbnails .discovery-post.hasthumbnail ul.meta li {
            font-weight: 700;
        }

    .discovery-thumbnails.doublethumbnails .discovery-post.hasthumbnail .inline-meta {
        font-size: 12px;
        font-weight: 500;
    }

    .discovery-thumbnails.doublethumbnails .discovery-post a.title {
        font-size: 14px;
    }

.discovery-thumbnails.doublethumbnails .thumbnail {
    height: 120px;
}

#discovery-top .discovery-main.doublethumbnails {
    border-bottom: 0;
}

@media screen and (min-width:730px) {
    .discovery-thumbnails.discovery-main.doublethumbnails section {
        float: left;
        width: 50%;
    }

    .discovery-thumbnails.discovery-main.doublethumbnails .discovery-options {
        position: absolute;
        right: 0;
    }

    .discovery-thumbnails.discovery-main.doublethumbnails ul.discovery-posts li.discovery-post {
        width: 100%;
    }

        .discovery-thumbnails.discovery-main.doublethumbnails ul.discovery-posts li.discovery-post div.thumbnail {
            width: 33%;
            float: left;
            margin-right: 20px;
            height: 100px;
        }

        .discovery-thumbnails.discovery-main.doublethumbnails ul.discovery-posts li.discovery-post h3 {
            margin-top: 0;
            padding-right: 30px;
        }
}

@media screen and (max-width:440px) {
    .discovery-thumbnails.discovery-main.doublethumbnails section {
        float: left;
        width: 100%;
    }

    .discovery-thumbnails.discovery-main.doublethumbnails .discovery-options {
        position: absolute;
        right: 0;
    }

    .discovery-thumbnails.discovery-main.doublethumbnails ul.discovery-posts li.discovery-post {
        width: 100%;
    }
}
